package com.teste;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;


@PersistenceCapable
public class Empregado {
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key id;
	
	@Persistent
	private String nome;
	
	@Persistent
	private String curso;

        @Persistent
        private String email;

        @Persistent
        private String password;
	
	public Empregado(String nome, String curso, String email, String password){
		this.nome = nome;
		this.curso = curso;
                this.email = email;
                this.password = password;
	}

	public Key getId() {
		return id;
	}

	public String getNome() {
		return nome;
	}

	public String getCurso() {
		return curso;
	}

        public String getEmail(){
            return email;
        }

        public String getPassword(){
            return password;
        }
        
	public void setNome(String nome) {
		this.nome = nome;
	}

	public void setCurso(String curso) {
		this.curso = curso;
	}

        public void setEmail(String email){
            this.email = email;
        }

        public void setPassword(String password){
            this.password = password;
        }
}
